package org.xczy.order.intercptor.feign;

import feign.RequestInterceptor;
import feign.RequestTemplate;

public class FeignAuthQuestInterceptor implements RequestInterceptor {
  @Override
  public void apply(RequestTemplate requestTemplate) {
    // todo 业务逻辑
    /* requestTemplate.header("xxx", "xxx");
    requestTemplate.query("xxx", "xxx"); */
    System.out.println("请求拦截器执行");
  }
}
